# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

User.create({email: "me@livoras.com", name: "Livoras", plain_password: "123456", plain_password_confirmation: "123456"})

# posts = 100.times.map do |i|
#   {title: "title - #{i}", content: "Fuck you every day for everyday.#{i}", user_id: 1}
# end

# Post.create(posts)

# Tag.create([
#   {name: "tag1", post_id:1},
#   {name: "tag2", post_id:1}
# ])

# Comment.create([
#   {email: "fuck@you.com", name: "Livoras", content: "I love this post", post_id: 1},
#   {email: "fuck@you.com", name: "Livoras", content: "I love this post", post_id: 1},
#   {email: "fuck@you.com", name: "Livoras", content: "I love this post", post_id: 1},
#   {email: "fuck@you.com", name: "Livoras", content: "I love this post", post_id: 1}
# ])

